package kr.hkit.powerjava.homework;

public class SmartPhone extends Phone {
	public SmartPhone(String made, int money, String type, String os,
			double osver, int sd, String cam, String blue) {
		super(made, money, type);
		this.os = os;
		this.osver = osver;
		this.sd = sd;
		this.cam = cam;
		this.blue = blue;
	}

	String os;
	double osver;
	int sd;
	String cam;
	String blue;
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	public double getOsver() {
		return osver;
	}
	public void setOsver(double osver) {
		this.osver = osver;
	}
	public int getSd() {
		return sd;
	}
	public void setSd(int sd) {
		this.sd = sd;
	}
	public String getCam() {
		return cam;
	}
	public void setCam(String cam) {
		this.cam = cam;
	}
	public String getBlue() {
		return blue;
	}
	public void setBlue(String blue) {
		this.blue = blue;
	}
	@Override
	public String toString() {
		return super.toString()+"\nSmartPhone [os=" + os + ", \nosver=" + osver + ", sd=" + sd
				+ ", cam=" + cam + ", blue=" + blue + "]";
	}
	public static void main(String[] args) {
		SmartPhone sm = new SmartPhone("대구", 1000000, "3g", "and", 
				4.12, 8, "ㅇㅇ", "ㅇㅇ");
		System.out.println(sm);
	}
	
}
